export const question_types = [{
		"text": "单选",
		"value": 0
	},
	{
		"text": "多选",
		"value": 1
	},
	{
		"text": "判断",
		"value": 2
	},
	{
		"text": "填空",
		"value": 3
	}
]

export function stringFromValue(value) {
	return question_types.find(item => item.value == value)?.text
}